package com.lijinquan.tank;

/**
 * Created by lijinquan on 2020/3/16.
 */
public class T {


    public static void main(String[] args) throws InterruptedException {
        TankFrame f = new TankFrame();

        int initTankCount = Integer.parseInt((String) PropertyMrg.get("initTankCount"));
        for(int i=0;i<initTankCount;i++){

            f.tanks.add(new Tank(50+i*80,300,Dir.DOWN,Group.BAD,f));
        }

        while (true) {
            Thread.sleep(50);
            f.repaint();
        }

    }


}
